<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@page
	import="b1w1nn1ng.crossf1t.gui.*,java.util.*,java.sql.*,b1w1nn1ng.crossf1t.business.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<%
		User user = (User) session.getAttribute("user");
		session.setAttribute("user", user);		

		user.deleteGoal(request.getParameter("goal"));
		response.sendRedirect("goals.jsp");
	%>
</html>